*{
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
  -webkit-overflow-scrolling : touch;
}
html,body {
  font-family: "Microsoft Yahei","Helvetica","Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #fff;
  height: 100%;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,p,span,ul,li,a,strong,i{
  font-family: "Microsoft Yahei","Helvetica","Lato", "Helvetica Neue", Helvetica, Arial, sans-serif ;
  font-weight: 300;
}
a {
	text-decoration: none;
}
ul, ol, li {
	list-style: none;
	padding: 0;
	margin: 0;
}
.container,.container-fluid{
  padding: 0 .2rem;
  position: relative;
}
.row{
  margin-left: -.2rem;
  margin-right: -.2rem;
}
.container-fluid{
  padding: 0;
}
div[class^="col-"]{
  position: relative;
}
section,div,article,nav,header,footer,aside{
  box-sizing: border-box;
}
button,.btn,.btn:focus,.btn:active{
  outline: none;
  outline: 0;
}
blockquote{
  background-color: #ededed;
  border-left: 5px solid #ccc;
}

input[class^="input-"]:focus{
  outline: none;
  border-bottom: 1px solid #4785f9;
}

@mixin html-fs($size){
  font-size: $size/375 * 100px;
}

@media (max-width:320px){
  html{
    @include html-fs(320)
  }

}
@media (min-width:320px){
  html{
    @include html-fs(320)
  }
}
@media (min-width:340px){
  html{
    @include html-fs(340)
  }
}
@media (min-width:360px){
  html{
    @include html-fs(360)
  }
}
@media (min-width:375px){
  html{
    @include html-fs(375)
  }
}
@media (min-width:380px){
  html{
    @include html-fs(380)
  }
}
@media (min-width:410px){
  html{
    @include html-fs(410)
  }
}
@media (min-width:450px){
  html{
    @include html-fs(450)
  }
}


// 侧滑模块的样式
div[type="AsideModal"]{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;

  .asideModuleContent{
    position: absolute;
    top:0;
    height: 100%;
    transition: all .3s;
    background-color: #fff;

    //.icon-return{
    //  position: absolute;
    //  top: .15rem;
    //  left: .15rem;
    //  font-size: .14rem;
    //  color: #212022;
    //}
    .content{
      height: 100%;
      overflow-y: auto;
    }
  }
  .left{
    left: 100%;
  }
  .top{
    top: 100%;
  }
}
// 中间弹窗的样式
div[type="CenterModal"]{
  position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 1000;

    .CenterModalContent{
      position: absolute;
      top:50%;
      left:5%;
      width: 90%;
      height: auto;
      max-height: 90%;
      transition: all .3s;
      background-color: #fff;
      overflow-y: auto;
      transform: scale(0,0);
      opacity: 0;
      transform-origin: center center;
      border-radius: 4px;

    .icon-cross{
      position: absolute;
      top: 0;
      right: 0;
      display: block;
      width: .45rem;
      height: .45rem;
      text-align: center;
      line-height: .45rem;
      font-size: .14rem;
      color: #212022;
    }
  }
}

//顶部提示样式
#Toptip {
  position: fixed;
  top:0;
  height: .25rem;
  width: 100%;
  font-size: .12rem;
  line-height: .25rem;
  color: #fff;
  background-color: #ff001f;
  text-align: center;
  z-index: 1200;
  display: none;
}
// 底部气泡样式
.TipPanel{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  z-index: 1500;
}
.Tip{
  width: 90%;
  position: absolute;
  bottom: -0.85rem;
  left: 5%;
  height: .8rem;
  padding: .15rem;
  text-align: center;
  transition: all .3s;
  background-color: #fff;
  border-radius: 2px;

  .tip-title{
    color: #212022;
    font-size: .18rem;
    line-height: .25rem;
    margin: 0 0 .06rem;

    span{
      margin: 0 .07rem;
      position: relative;
      top: 1px;
    }
    i{font-style: normal;font-weight: bold;}
    .icon-checkmark{
      color: #38c254;
    }
    .icon-x{
      color: #ff0000;
    }
  }
  .just-title{
    margin: .12rem 0;
  }
  .tip-note{
    font-size: 13px;
    line-height: .2rem;
    margin: 0;
    color: #212022;
  }
}
// im聊天图片大图
.bigImgBg{
  position: absolute;
  z-index: 109999905;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.7);
  top: 0;
  text-align: center;
  img{
    position: absolute;
    top: 50%;
    left: 5%;
    display: none;
  }
}